﻿namespace CSC.FSVTracker.Domain.Entities
{
    using System.ComponentModel.DataAnnotations;
    [Table("FSGIP_Users")]
    public class User
    {
        /// <summary>
        /// Gets or sets the ID.
        /// </summary>
        /// <value>
        /// The ID.
        /// </value>
        public int ID { get; set; }

        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>
        /// The name.
        /// </value>
        [Column("User_Name")]
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets the login id.
        /// </summary>
        /// <value>
        /// The login id.
        /// </value>
        [Column("Login_ID")]
        public string LoginId { get; set; }

        /// <summary>
        /// Gets or sets the password.
        /// </summary>
        /// <value>
        /// The password.
        /// </value>
        public string Password { get; set; }

        /// <summary>
        /// Gets or sets the email id.
        /// </summary>
        /// <value>
        /// The email id.
        /// </value>
        [Column("Email_ID")]
        public string EmailId { get; set; }

        /// <summary>
        /// Gets or sets the role.
        /// </summary>
        /// <value>
        /// The role.
        /// </value>
        public string Role { get; set; }

        /// <summary>
        /// Gets or sets the user group.
        /// </summary>
        /// <value>
        /// The user group.
        /// </value>
        public string UserGroup { get; set; }

        /// <summary>
        /// Gets or sets the access group.
        /// </summary>
        /// <value>
        /// The access group.
        /// </value>
        [Column("AccessGroups")]
        public string AccessGroup { get; set; }
    }
}
